package com.mall.mymall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.mymall.dao.dto.QueryDto;
import com.mall.mymall.dao.dto.querypage.AddressPageRequest;
import com.mall.mymall.dao.dto.querypage.OrganizationPageRequest;
import com.mall.mymall.dao.entity.Addresses;
import com.mall.mymall.dao.entity.Administrators;
import com.mall.mymall.dao.entity.Organizations;

import java.util.List;

public interface AddressesService extends IService<Addresses> {
    Addresses getAddressesByNameAndUserId(String address, Integer userId);

    QueryDto<Addresses> pageAddresses(AddressPageRequest addressPageRequest);

    List<Addresses> findByUserId(Integer userId);
}
